import Layout from '@/views/layout/Layout'

const activity = {
  path: '/client-manage',
  component: Layout,
  name: 'clientManage',
  alwaysShow: true,
  meta: { title: 'clientManage', icon: 'clientManage' },
  children: [
    {
      path: 'client',//客户管理列表
      component: () => import('@/views/after-sale/client-manage/index'),
      name: 'client',
      meta: { title: 'clientManage' },
    },
    {
      path: 'client-create',// 新增客户管理
      component: () => import('@/views/after-sale/client-manage/edit/index'),
      name: 'createClientManage',
      hidden: true,
      meta: { title: 'createClientManage' }
    },
    {
      path: 'client-edit',// 编辑客户管理
      component: () => import('@/views/after-sale/client-manage/edit/index'),
      name: 'editClientManage',
      hidden: true,
      meta: { title: 'editClientManage' }
    },
    {
      path: 'car',//车辆管理列表
      component: () => import('@/views/after-sale/client-manage/car/index'),
      name: 'CarManage',
      meta: { title: 'CarManage' },
    },
    {
      path: 'car-edit',//车辆修改
      component: () => import('@/views/after-sale/client-manage/car/edit/index'),
      name: 'EditCarManage',
      hidden: true,
      meta: { title: 'EditCarManage' },
    },
    {
      path: 'level',//会员卡管理列表
      component: () => import('@/views/after-sale/client-manage/level/index'),
      name: 'levelManage',
      // hidden: true,
      meta: { title: 'levelManage' }
    },
    {
      path: 'coupon',//优惠卷列表
      component: () => import('@/views/after-sale/client-manage/coupon/index'),
      name: 'couponManage',
      meta: { title: 'couponManage' }
    },
    {
      path: 'package',//套餐列表
      component: () => import('@/views/after-sale/client-manage/package/index'),
      name: 'packageManage',
      meta: { title: 'packageManage' }
    },
    {
      path: 'create-package',//新增套餐
      component: () => import('@/views/after-sale/client-manage/package/create/index'),
      name: 'createpackage',
      hidden: true,
      meta: { title: 'createpackage' }
    },
    {
      path: 'call-back',//客户回访
      component: () => import('@/views/after-sale/client-manage/call-back/index'),
      name: 'callBackManage',
      meta: { title: 'callBackManage' }
    },
    {
      path: 'caring-reminder',//关怀提醒
      component: () => import('@/views/after-sale/client-manage/caring-reminder/index'),
      name: 'caringReminderManage',
      meta: { title: 'caringReminderManage' }
    },
    {
      path: 'create-reminder',//发送短信
      component: () => import('@/views/after-sale/client-manage/caring-reminder/create/index'),
      hidden: true,
      name: 'createCaringReminder',
      meta: { title: 'createCaringReminder' }
    },
    {
      path: 'business',
      component: () => import('@/views/after-sale/client-manage/business/index'),
      name: 'businessManage',
      meta: { title: 'businessManage' }
    },
    {
      path: 'statistics',
      component: () => import('@/views/after-sale/client-manage/statistics/index'),
      name: 'statisticsManage',
      meta: { title: 'statisticsManage' }
    },
  ]
}

export default activity
